package com.dlc.beijingrfid.model;

/**
 * Created by John on 2017/6/13.
 */

public class MsgData {


    long id;
    String pids;
    String title;
    String content;
    int type;
    int status;
    long createTime;
    int read;
    private long ctime;


    public MsgData(long id, String pids, String title, String content, int type, int status,
                   long createTime, int read) {
        this.id = id;
        this.pids = pids;
        this.title = title;
        this.content = content;
        this.type = type;
        this.status = status;
        this.createTime = createTime;
        this.read = read;
    }

    public MsgData(MsgData notiBean) {
        id = notiBean.getId();
        pids = notiBean.getPids();
        title = notiBean.getTitle();
        content = notiBean.getContent();
        type = notiBean.getType();
        status = notiBean.getStatus();
        createTime = notiBean.getCtime() * 1000L;
        read = notiBean.getRead();
    }


    public MsgData() {
    }

    public long getId() {
        return this.id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public String getPids() {
        return this.pids;
    }

    public void setPids(String pids) {
        this.pids = pids;
    }

    public String getTitle() {
        return this.title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getContent() {
        return this.content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public int getType() {
        return this.type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public int getStatus() {
        return this.status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public long getCreateTime() {
        return this.createTime;
    }

    public void setCreateTime(long createTime) {
        this.createTime = createTime;
    }

    public int getRead() {
        return this.read;
    }

    public void setRead(int read) {
        this.read = read;
    }
    public long getCtime() {
        return ctime;
    }

    public void setCtime(long ctime) {
        this.ctime = ctime;
    }



}
